/*******************************************************************************
 * @project: CDMS_12
 * @package: com.esoon.cdms.model
 * @file: ProjectModel.java
 * @author: Administrator
 * @created: 2017-6-23
 * @purpose:
 * 
 * @version: 1.0
 * 
 * Revision History at the end of file.
 * 
 * Copyright 2017 AcconSys All rights reserved.
 ******************************************************************************/

package com.esoon.cdms.model;

import com.mentor.chs.api.IXProject;

public class ProjectModel {
	private IXProject project;
	private String name;
	private String description;
	private String domain;
	private String folderPath;
	
	public ProjectModel() {
	}
	
	public ProjectModel(IXProject project) {
		this.setName(project.getAttribute("Name"));
		this.setDescription(project.getAttribute("Description"));
		this.setDomain(project.getAttribute("Domain"));
		this.setFolderPath(project.getAttribute("FolderPath"));
	}

	public IXProject getProject() {
		return project;
	}

	public void setProject(IXProject project) {
		this.project = project;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public String getFolderPath() {
		return folderPath;
	}

	public void setFolderPath(String folderPath) {
		this.folderPath = folderPath;
	}

	
}


/*******************************************************************************
 * <B>Revision History</B><BR>
 * [type 'revision' and press Alt + / to insert revision block]<BR>
 * 
 * 
 * 
 * Copyright 2017 AcconSys All rights reserved.
 ******************************************************************************/